<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <link rel="stylesheet" href="__TMPL__/static/css/reset.css">
    <link rel="stylesheet" href="__TMPL__/static/css/style.css">
    <link rel="stylesheet" href="__TMPL__/static/css/news.css">
		<link rel="stylesheet" type="text/css" href="__TMPL__/static/css/product.css"/>
		<link rel="stylesheet" type="text/css" href="__TMPL__/static/layui/css/layui.css"/>
</head>
<body>
    <div class="container">
      {include file="head" /}

        <div class="banner">
            <img src="{$current_cate['banner']['url']}" alt="">
            <div class="public_width">
                <div class="banner_in">
                    <div class="banner_in_title">
                        <h3>产品中心</h3>
                        <div class="banner_in_img ">
                            <img src="__TMPL__/static/img/product_text.png" style="width: 465px;" alt="">
                        </div>
                    </div>
                    <p>
                        您的位置：
                        <a href="index.html">首页</a>
                        <span>></span>
                        <a href="product.html">产品中心</a>
                    </p>
                </div>
            </div>
        </div>

        <div class="news">
            <div class="public_width">
               <ul class="product_list">
                    {hcTaglib:contentPage mainField="id,title,thumbnail,description" name="products" limit="3"}
                    <li>
                        <div class="product_list_img">
                            <a href="{:hcUrl('detail/index',['id'=>$vo['id'],'cid'=>$vo['category_id']])}">
                                <img src="{$vo['thumbnail']['url']}" >
                            </a>
                        </div>
                        <div class="product_list_text">
                            <a href="{:hcUrl('detail/index',['id'=>$vo['id'],'cid'=>$vo['category_id']])}">
                                <h4>{$vo['title']}</h4>
                            </a>
                            <p>{$vo['description']}</p>
                        </div>
                    </li>

                    {/hcTaglib:contentPage}
               </ul>
                <div class="page">
                    {$products|raw}
                </div>
            </div>
        </div>
       {include file="footer"}
    </div>
</body>
</html>